package com.ruoyi.account.domain;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 t_account
 *
 * @author ruoyi
 * @date 2023-11-03
 */
public class Account extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 用户id
     */
    @Excel(name = "用户id")
    private Long userId;

    /**
     * 账户金额
     */
    @Excel(name = "账户充值金额")
    private BigDecimal depositAccount;


    /**
     * 账户金额
     */
    @Excel(name = "账户可提现金额")
    private BigDecimal withdrawableAccount;


    /**
     * 删除标志(0正常，1删除)
     */
    @Excel(name = "删除标志(0正常，1删除)")
    private Long delTag;

    /**
     * 账户支付密码
     */
    @Excel(name = "账户支付密码")
    private String accountPwd;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }



    public void setDelTag(Long delTag) {
        this.delTag = delTag;
    }

    public BigDecimal getDepositAccount() {
        return depositAccount;
    }

    public void setDepositAccount(BigDecimal depositAccount) {
        this.depositAccount = depositAccount;
    }

    public BigDecimal getWithdrawableAccount() {
        return withdrawableAccount;
    }

    public void setWithdrawableAccount(BigDecimal withdrawableAccount) {
        this.withdrawableAccount = withdrawableAccount;
    }

    public Long getDelTag() {
        return delTag;
    }

    public void setAccountPwd(String accountPwd) {
        this.accountPwd = accountPwd;
    }

    public String getAccountPwd() {
        return accountPwd;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("userId", getUserId())
                .append("depositAccount", getDepositAccount())
                .append("withdrawableAccount", getWithdrawableAccount())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("delTag", getDelTag())
                .append("accountPwd", getAccountPwd())
                .toString();
    }
}
